package com.gosling.cloudspace.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author zhushengxian
 * @description 防止重复提交、
 * @date 2021/5/12 0012 14:15
 * @modifier zhushengxian
 * @date 2021-05-12 14:15
 * @Version V1.0
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface NoRepeatSubmit {
    /**
     * 默认时间5秒
     */
    int time() default 5 * 1000;
}
